package com.example.demo.service.Impl;

import com.example.demo.entity.Video;
import com.example.demo.mapper.VideoMapper;
import com.example.demo.service.VideoService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VideoServiceImpl implements VideoService {
    @Resource
    VideoMapper videoMapper;

    @Override
    public List<Video> selectByAttractionId(Integer attractionId) {
        return videoMapper.selectByAttractionId(attractionId);
    }
}
